package com.tanhua.server.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("soul_question")
public class SoulQuestion implements Serializable {
    private static final long serialVersionUID = 7665153706370500060L;
    private Integer id;
    private String question;

    @JsonIgnore
    private Integer tableId;

    @TableField(exist = false)
    private List<SoulOption> options;
}
